package com.qzsoft.zhjd.materiel.modules.materielweighttype.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class MaterielWeightTypeDto {

    private String id;

    private String weightType;

    private String weightDataType;

    private String name;

    private Integer sort;

    private Integer enable;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

    private String updateName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWeightType() {
        return weightType;
    }

    public void setWeightType(String weightType) {
        this.weightType = weightType;
    }

    public String getWeightDataType() {
        return weightDataType;
    }

    public void setWeightDataType(String weightDataType) {
        this.weightDataType = weightDataType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }


    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public MaterielWeightTypeDto() {
    }

    public MaterielWeightTypeDto(String id, String weightType, String weightDataType, String name, Integer sort, Integer enable, String updateName, Date updateDate) {
        this.id = id;
        this.weightType = weightType;
        this.weightDataType = weightDataType;
        this.name = name;
        this.sort = sort;
        this.enable = enable;
        this.updateName = updateName;
        this.updateDate=updateDate;
    }

}
